xm: Improve help message for vif creation.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 10 Jul 2007 09:11:14 +0000 (10:11 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 10 Jul 2007 09:11:14 +0000 (10:11 +0100)
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xm/create.py

index b75f478a745da41e2cd771f935c71549eb4491b9..42dc8f32fd372cccb4aed92f36628813e6950d7c 100644 (file)
@@ -318,7 +318,8 @@ gopts.var('vfb', val="type={vnc,sdl},vncunused=1,vncdisplay=N,vnclisten=ADDR,dis
           given DISPLAY and XAUTHORITY, which default to the current user's
           ones.""")
 
-gopts.var('vif', val="type=TYPE,mac=MAC,bridge=BRIDGE,ip=IPADDR,script=SCRIPT,backend=DOM,vifname=NAME",
+gopts.var('vif', val="type=TYPE,mac=MAC,bridge=BRIDGE,ip=IPADDR,script=SCRIPT," + \
+          "backend=DOM,vifname=NAME,rate=RATE,model=MODEL,accel=ACCEL",
           fn=append_value, default=[],
           use="""Add a network interface with the given MAC address and bridge.
           The vif is configured by calling the given configuration script.
@@ -330,6 +331,9 @@ gopts.var('vif', val="type=TYPE,mac=MAC,bridge=BRIDGE,ip=IPADDR,script=SCRIPT,ba
           If backend is not specified the default backend driver domain is used.
           If vifname is not specified the backend virtual interface will have name vifD.N
           where D is the domain id and N is the interface id.
+          If rate is not specified the default rate is used.
+          If model is not specified the default model is used.
+          If accel is not specified an accelerator plugin module is not used.
           This option may be repeated to add more than one vif.
           Specifying vifs will increase the number of interfaces as needed.""")